<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a href="https://www.baidu.com/">百度</a>
</body>
<script type="text/javascript">
    /*
    * history 处理和浏览器历史相关的操作
    * */
    console.dir(window.history);
    console.dir(history);
    history.forward(); // 前进
    history.back();

</script>

</html>
